<%@page import="cn.ticket.Constant"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String type_ = (String)session.getAttribute("login_user_type") ;
	int user_type= null==type_?-1:Integer.parseInt(type_) ;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<ul class="bar_left">
		<%
			if(user_type==Constant.USER_COMUSER){
		%>
				<li><a href="<%=basePath %>front/ticket/orderList.jsp">订单管理</a></li>
				<li><a href="<%=basePath %>front/user/passwordUpdate.jsp">账号设置</a></li>
		<%
			}else if(user_type==Constant.USER_PARTNER){
		%>
				<li><a href="<%=basePath %>front/ticket/orderList.jsp">订单管理</a></li>
				<li><a href="<%=basePath %>front/bus/busList.jsp">车次管理</a></li>
				<li><a href="<%=basePath %>front/user/passwordUpdate.jsp">账号设置</a></li>
				<%
			}else if(user_type==Constant.USER_ADMIN){
		%>
					<li><a href="<%=basePath %>front/user/userList.jsp">加盟商管理</a></li>
					<li><a href="<%=basePath %>front/bus/busList.jsp">车次统计</a></li>
					<li><a href="<%=basePath %>front/ticket/orderList.jsp">车票统计</a></li>
					<li><a href="<%=basePath %>front/user/passwordUpdate.jsp">账号设置</a></li>
				<%
			}
		%>
	</ul>
</body>
</html>